package cn.iocoder.yudao.adminserver.modules.live.convert.projectPlan;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.adminserver.modules.live.controller.projectPlan.vo.*;
import cn.iocoder.yudao.adminserver.modules.live.dal.dataobject.projectPlan.LiveProjectPlanDO;

/**
 * 项目阶段计划 Convert
 *
 * @author 芋艿
 */
@Mapper
public interface LiveProjectPlanConvert {

    LiveProjectPlanConvert INSTANCE = Mappers.getMapper(LiveProjectPlanConvert.class);

    LiveProjectPlanDO convert(LiveProjectPlanCreateReqVO bean);

    LiveProjectPlanDO convert(LiveProjectPlanUpdateReqVO bean);

    LiveProjectPlanRespVO convert(LiveProjectPlanDO bean);

    List<LiveProjectPlanRespVO> convertList(List<LiveProjectPlanDO> list);

    PageResult<LiveProjectPlanRespVO> convertPage(PageResult<LiveProjectPlanDO> page);

    List<LiveProjectPlanExcelVO> convertList02(List<LiveProjectPlanDO> list);

}
